<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div id="app"></div>

    <script src="./js/vue.js"></script>
    <script>
      const vm = new Vue({
        el: "#app",
        data: {
          title: "hello world",
          author: "袁",
        },
        // template: "",
        render(h) {
          return h("div", [
            h("h1", `第一个vue应用: ${this.title}`),
            h("p", `作者：${this.author}`),
          ]);
        },
      });
    </script>
  </body>
</html>
